<!--  
	@author wsq
	@date  2016-11-13 
	@通过bind:tipText='xxx'传递参数
	//todo 有待改进
 -->
<template>
	<div  class="taost">{{context}}</div>
</template>
<script>
	export default{
		name:'taost',
		props:['tipText'],
		data(){
			return {
				context:this.tipText || '哎呀！服务器开小差了。'
			}
		}
	}
</script>
<style >
.taost{
 	position: fixed;
 	top: 60%;
 	left: 50%;
 	transform: translate(-50%, 0);
 	min-width:25%;
	padding: 0.133333rem;
	line-height: 0.533333rem;
	background: rgba(0,0,0,0.85);
	border: 1px solid #fff;
	color: #fff;
	font-size: 0.373333rem;
	z-index: 100;
	border-radius: 0.08rem;
}
</style>